package com.shujia.day10;

public class Code04CharacterDemo {
    public static void main(String[] args) {
        // char 的包装类
//        public Character(char value)

        Character c = new Character('c');
        System.out.println(c);
        /*
            成员方法：
                public static boolean isUpperCase(char ch)
                public static boolean isLowerCase(char ch)
                public static boolean isDigit(char ch)  // 判断是否是一个数值
                public static char toUpperCase(char ch)
                public static char toLowerCase(char ch)
         */
        System.out.println(Character.isUpperCase(c));
        System.out.println(Character.isLowerCase(c));
        System.out.println(Character.isDigit(c));
        System.out.println(Character.toUpperCase(c));
        System.out.println(Character.toLowerCase(c));


    }
}
